﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderSequenceRuleDetail.aspx.cs" Inherits="WMS6.Web.CrossDock.OrderSequenceRuleDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OrderSequenceRuleDetail</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script> 
    <script src="../Js/util.js" type="text/javascript"></script>
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>
    <script src="../Js/Verification.js" type="text/javascript"></script>
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initDetailPage();
        }
        
        //弹出窗口选择货品
        function selectSku()
        {
            var rtnValue = popModalWindow('../Configuration/SkuQuery.aspx?action=txtSkuID&ownerID='+document.getElementById("txtOwnerID").value,'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSkuID").focus();
                document.getElementById("txtSkuID").value = rtnValue;
                document.getElementById("hdnSkuID").value = rtnValue;
                document.getElementById("hdnPageType").value = "1";   
                __doPostBack("txtSkuID_TextChanged","");
            }
        }
        
        //弹出窗口选择承运商
        function selectPack()
        {
            var rtnValue = popModalWindow('../Configuration/PackQuery.aspx?action=txtPackID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtPackID").focus();
                document.getElementById("txtPackID").value = rtnValue;
                document.getElementById("hdnPageType").value = "1";   
                __doPostBack("txtPackID_TextChanged","");
            }
        }
       
    </script>
</head>
<body >
    <form id="F79633" runat="server">
    
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblAllocateRuleDetail" runat="server" 
                            CssClass="label_header" Text="订单顺序规则明细" 
                            meta:resourcekey="lblAllocateRuleDetail"></asp:Label></td>
                    <td><asp:Button ID="btnCancel" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCancel%>" 
                            AccessKey="c" onclick="btnCancel_Click" 
                             /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" 
                            AccessKey="s" onclick="btnSave_Click"  
                             /></td>
                              <td>    <input id="btnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>" class="button"  onclick="showAction(); return false;" />        </td>
                                     
                </tr>
            </table>
        </div>
          <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                meta:resourcekey="lblMsg"></asp:Label>
        </div>        
        
        <div id="div_menu">
        <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)" id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" 
                    meta:resourcekey="one1">常规</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1"></div>
            </div>
            
        </div>
        
        <div id="div_content">
             <div id="con_one_1" style="display: block;">
                 <table width="720" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblLineID" runat="server" CssClass="label" Text="行号" ></asp:Label><font class="must_input">*</font>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblOppOrderRuleID" runat="server" CssClass="label" Text="订单顺序规则" ></asp:Label>
                        </td>
                        <td width="180px">
                          
                        </td>
                        <td width="180px">
                           
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtLineID" runat="server" CssClass="textbox" ></asp:TextBox> 
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtOppOrderRuleID" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
                        </td>
                        <td width="180px">
                           
                        </td>
                        <td width="180px">
                          
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblOppOrderStrategy" runat="server" CssClass="label" Text="策略" ></asp:Label>
                        </td>
                        <td width="180px">
                           
                        </td>
                        <td width="180px">
                           
                        </td>
                        <td width="180px">
                          
                    </tr>
                    <tr>
                        <td width="180px" colspan=2>
                            <asp:DropDownList ID="ddlOppOrderStrategy" runat="server"  AutoPostBack="true"
                                CssClass="mediumselectbox" 
                                onselectedindexchanged="ddlOppOrderStrategy_SelectedIndexChanged"></asp:DropDownList>
                        </td>
                        <td width="180px">
                        </td>
                        <td width="180px">
                            &nbsp;</td>
                    </tr>
                      <tr>
                        <td width="180px">
                            <asp:Label ID="lblOrderDateStartDays" runat="server" CssClass="label" Text="开始日期" ></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblOrderDateEndDays" runat="server" CssClass="label" Text="结束日期" ></asp:Label>
                        </td>
                        <td width="180px">
                             <asp:Label ID="lblOrderTypeInclude" runat="server" CssClass="label" Text="订单类型" ></asp:Label>
                        </td>
                        <td width="180px">
                           
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtOrderDateStartDays" runat="server" CssClass="textbox" onblur="Javascript:dataVer._Is123(this,'lblMsg')" ></asp:TextBox> &nbsp;</td>
                        <td width="180px">
                             <asp:TextBox ID="txtOrderDateEndDays" runat="server" CssClass="textbox" onblur="Javascript:dataVer._Is123(this,'lblMsg')" ></asp:TextBox>&nbsp;</td>
                        <td width="180px">
                           <asp:DropDownList ID="ddlOrderTypeInclude" runat="server" CssClass="mediumselectbox" ></asp:DropDownList>
                        </td>
                        <td width="180px">
                          
                        </td>
                    </tr>
                      <tr>
                        <td width="180px">
                            <asp:Label ID="lblPriorityFrom" runat="server" CssClass="label" Text="订单优先级从" ></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblPriorityTo" runat="server" CssClass="label" Text="订单优先级至" ></asp:Label>
                        </td>
                        <td width="180px">
                          
                        </td>
                        <td width="180px">
                           
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:DropDownList ID="ddlPriorityFrom" runat="server" CssClass="mediumselectbox" >
                                </asp:DropDownList>
                        </td>
                        <td width="180px">
                                <asp:DropDownList ID="ddlPriorityTo" runat="server" CssClass="mediumselectbox">
                                </asp:DropDownList>
                        </td>
                        <td width="180px">
                           
                        </td>
                        <td width="180px">
                          
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                           <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" Text="启用" 
                                 Checked="True" meta:resourcekey="chkIsActive" />
                        </td>
                        <td width="180px">
                            &nbsp;</td>
                        <td width="180px">
                            &nbsp;</td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                     <tr>
                        <td width="180px" style=" height:10px">
                          
                        </td>
                        <td width="180px">
                            &nbsp;</td>
                        <td width="180px">
                            &nbsp;</td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    
                 </table>
             </div>
                     
        </div>       
        
    </div>
    <input type="hidden" id="hdnFrom" runat="server" />
            <input type="hidden" id="hdnDataFormat"  runat="server" value="yyyy-MM-dd"/>  
            <input type="hidden" id="hdncalendarFlag"  runat="server" />  
           <input type="hidden" id="hiddenFlag" runat="server"  />
           <input type="hidden" id="hdnType" runat="server"  />
      </ContentTemplate>              
        </asp:UpdatePanel>
     
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
		
		    hiddenCalendarDiv();
		//-->
</script>